﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HBKY.Shop.Model.WebApiClients.TianTian
{
    //如果好用，请收藏地址，帮忙分享。
    public class SubFundInfoListFundsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string fund_code { get; set; }
        /// <summary>
        /// 华夏中证银行ETF联接A
        /// </summary>
        public string fund_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double nav_grw_r1m { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double nav_grw_r1y { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double track_error { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double tot_share { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double operating_rate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double declare_rate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int establish_years { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> tags { get; set; }
    }

    public class SubFundInfoListItemsItem
    {
        /// <summary>
        /// 被动指数型
        /// </summary>
        public string fund_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SubFundInfoListFundsItem> funds { get; set; }
    }

    public class SubFundInfoListData
    {
        /// <summary>
        /// 
        /// </summary>
        public List<SubFundInfoListItemsItem> items { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int current_page { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int total_items { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int total_pages { get; set; }
    }

    public class SubFundInfoListDto
    {
        /// <summary>
        /// 
        /// </summary>
        public SubFundInfoListData data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int result_code { get; set; }
    }

}
